from django.urls import path
from rest_framework.routers import SimpleRouter

from core import views

router = SimpleRouter()

router.register('fonts', views.FontViewSet)

urlpatterns = (
    *router.urls,
    path('fonts/<str:name>.css', views.FontCSSView.as_view(), name='font-css'),
)
